#ifndef CMAINMENU_H_
#define CMAINMENU_H_
#include "CBaseGameState.h"
#include "CObjectManager.h"
#include "CShape.h"
#include "CTextureManager.h"
#include "MMath.h"
#include "CShape.h"
#include "CTextureManager.h"
#include "CRender.h"
class TextureManager;
class DXDeviceControl;
class CSGD_DirectInput;
class CMainMenuState : public CBaseGameState
{
private:
	int m_nBG_SFX_ID;
	CSGD_DirectInput* m_pDI;
	CShape shape;
	CShape SunDude;
	CShape CloudDude;
	static CMainMenuState Instance;
	Vec2 m_vSunDude;
	Vec2 m_vCloudDude;
	Texture * tex;
	Texture * Sun;
	Texture * Cloud;

	CMainMenuState(void) {}
	~CMainMenuState(void) {}
	CMainMenuState& operator=(const CMainMenuState& rhs) {}	

	bool LoadPicturesFromFile(const char* filename);
public:
	static CMainMenuState* GetInstance(void) { return &Instance; }

	void Enter();

	void Input();
	void Update(float dt);
	void Render();


	void Exit();
};
#endif;